package com.lyh.system.domain.resp;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "商品详情")
@Data
public class GoodsDetailResp {

    @ApiModelProperty(example = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    Long id;

    @ApiModelProperty(example = "主图1")
    private String picture;

    @ApiModelProperty(example = "主图2 主图3 主图4")
    private List<String> mainUrlList;


    /** 名称 */
    @ApiModelProperty(example = "商品名称")
    private String name;

    /** 图片 */
    @ApiModelProperty(example = "类型")
    private Integer goodsClass;

    /** 价格 */
    @ApiModelProperty(example = "价格")
    private BigDecimal price;

    @ApiModelProperty(example = "资产通证")
    private BigDecimal assetEvidenceNum;

    @ApiModelProperty(example = "消费卷")
    private BigDecimal consumerCouponNum;


    @ApiModelProperty(example = "商品描述")
    private String describeInfo;

}
